package juc;

import optional.entity.Student;

public class Jjin {
    static int a = 5;
    int b = 10;

    static {
        System.out.println("Jjin静态变量" + a);
        System.out.println("Jjin 。。。。。。静态方法");

    }

    Jjin() {
        System.out.println("Jjin......构造方法");
    }


    public static void main(String[] args) {
        A a = new A();
        a.heheh();
    }
}

/**
 * A 类
 */
class A {
    static {
        System.out.println("A 。。。。。静态代码块");
    }

    A() {
        System.out.println("A-----构造方法");
    }

    public void heheh() {
        System.out.println("A....普通方法");
    }
}